
#ifndef _UARTXX_H_DFJDLJFDJFO1321421
#define _UARTXX_H_DFJDLJFDJFO1321421

#include <stdint.h>
#include "stm32l4xx.h"
#include "stm32l4xx_ll_bus.h"
#include "stm32l4xx_ll_rcc.h"
#include "stm32l4xx_ll_usart.h"
#include "stm32l4xx_ll_gpio.h"
#include "stm32l4xx_ll_dma.h"



#define DBG_UART						USART1
#define DBG_UART_IRQn					USART1_IRQn
#define DBG_UART_IRQHandler				USART1_IRQHandler


void initUart(uint32_t baud);
void wrTHR(uint32_t data);
void intTHR(uint32_t sta);


#endif

